#ifndef ITEMOBJECT_H
#define ITEMOBJECT_H

#include "Object.h"


class ItemObject : public Object
{

friend class ObjectManager;


    public:

        virtual ~ItemObject();
        unsigned int Getcounter() { return m_counter; }
        void Setcounter(unsigned int val) { m_counter = val; }
        std::string Getm_type() { return m_type; }
        void setType(std::string val) { m_type = val; }

    virtual OBJ_TYPE getType(){return OBJ_TYP_ITEM;};

    virtual void init();
    virtual void update(double timeSinceLastFrame);
    virtual void clear();


    protected:

    ItemObject();
    private:
        unsigned int m_counter;
        std::string m_type;
};

#endif // ITEMOBJECT_H
